package io.renren.modules.clienthome.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 需要渲染到首页的信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WorkJobHomeVO implements Serializable,Comparable<WorkJobHomeVO> {
    private String workJobName;
    private String companyName;

    private String provinces;
    private String cityes;
    private String areas;

    private Integer salaryStart;
    private Integer salaryEnd;

    private String dayLong;

    @Override
    public int compareTo(WorkJobHomeVO o) {

        return this.getDayLong().compareTo(o.getDayLong());
    }
}
